//
//  SonglistTableViewCell.m
//  艾听歌
//
//  Created by dllo on 16/5/29.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "SonglistTableViewCell.h"

@implementation SonglistTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.numLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.numLabel];

        
        self.singerName = [[UILabel alloc] init];
        [self.contentView addSubview:self.singerName];

        
        self.songName = [[UILabel alloc] init];
        [self.contentView addSubview:self.songName];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.numLabel.frame = CGRectMake(10, 10, 30, 30);
    self.singerName.frame = CGRectMake(50, 10, 200, 30);
    self.songName.frame = CGRectMake(50, 50, 200, 20);
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
